home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr25 / grep152a.zip / GREP.DOC next >
Text File  |  1993-03-13  |  2KB  |  64 lines

  1. Program:        GREP.EXE
  2.  
  3. Version:        1.52a
  4.  
  5. Date:           May 29, 1992
  6.  
  7. Description:    Grep Utility for OS/2 2.0 GA
  8.                 32-bit OS/2 2.0 protected mode, command line program
  9.  
  10. Requirements:   OS/2 2.0 GA Level
  11.  
  12. Instructions:
  13.  
  14. GREP was designed to search from the current path on downwards.  The program 
  15. starts searching for files in the current path and any subdirectories that 
  16. exist.
  17.  
  18. To have GREP start its search from the root directory prepend the \ character
  19. to the filespec:
  20.  
  21. C:\os2\util] grep printf \*.c /s
  22.  
  23. The options to GREP are as follows:
  24.  
  25. grep [search string] [filespec] -h -s -i -t -c -v -f -b
  26.  
  27. [search string]     This is any character string *NOT* containing one of the
  28.                     following characters:  * ? . / -
  29.  
  30. [filespec]          A file specification to use.  Any files matching the
  31.                     file specification will be searched.  This program has
  32.                     been written to search ASCII text files.  Some documents
  33.                     created by word processors may not be searchable (a 
  34.                     future version will fix this).
  35.  
  36. [options]           You can select one of the following options.
  37.  
  38.     -h          help information
  39.     -s          search subdirctories from the current one on down
  40.     -i          ignore case of the search text 
  41.                 PRINTF PrintF printf all match
  42.     -v          verbose information (default)
  43.     -t          time information (currently unavailable)
  44.     -f          output shows only the file name, no path (short file names)
  45.     -c          use carriage return/linefeeds for Epsilon users
  46.     -b          DO NOT string leading blanks on a line. Output is harder
  47.                 to read in this case but it may be useful in some cases.
  48.  
  49.  
  50.                 
  51. This program is freeware.  All that I ask is that you contact me via
  52. e-mail (Compuserve ID 73467,252; Internet asp@trail.sharpstone.com) and
  53. let me know what you think about it.  Ideas on more freeware utilities you
  54. would like to see are welcome.
  55.  
  56.  
  57.                                             Your author,
  58.  
  59.                                                     Alexandre Polozoff
  60.  
  61.  
  62.  
  63.  
  64.